package io.geekidea.springbootplus.system.service;

import io.geekidea.springbootplus.framework.common.service.BaseService;
import io.geekidea.springbootplus.system.entity.MerchantConfig;
import io.geekidea.springbootplus.system.param.MerchantConfigStatusParam;
import io.geekidea.springbootplus.system.vo.MerchantConfigQueryVo;

import java.util.List;

public interface MerchantConfigService extends BaseService<MerchantConfig> {

   boolean updateStatus(MerchantConfigStatusParam merchantConfigStatusParam);

   List<MerchantConfigQueryVo> findConfig();

   boolean addConfig(MerchantConfigQueryVo merchantConfigQueryVo);

   boolean updateConfig(MerchantConfigQueryVo merchantConfigQueryVo);

   boolean deleteConfig(int id);

   MerchantConfigQueryVo finConfigById(int id);
}
